<?php
/**
 * Classe REPOSITORY da tabela TB_PARAM_SEXO
 * 
 * @author			Mário R. Castro
 * @copyright		Voitech Sistema
 * @package			SEMAS
 * @subpackage		semas.application.models
 * @version			1.0
*/
class App_Model_ParamSexoRepository{

    public function listarTodos(array $arrParametro) {
        $arrDbParamSexo = App_Model_Db_ParamSexo::build()->listarTodos(new Voitech_TO($arrParametro));
        $arrParamSexo = array();
        foreach($arrDbParamSexo as $row) {
            $obParamSexoMapper = new App_Model_ParamSexoMapper(new App_Model_ParamSexo());
            $arrParamSexo[] = $obParamSexoMapper->carregar($row)->getObModel();
        }
        return $arrParamSexo;
    }
    
}